<template>
	<view>
		<view class="logo">
			<!-- 标题 -->
			<uni-nav-bar leftWidth='200rpx' rightWidth='200rpx' left-icon="left" color="#fff" leftText="返回"
				border="false" backgroundColor="#51a0f0" title="用户注册" @clickLeft="ret" />

			<!-- 登录 -->
			<view class="form">
				<view class="inp1">
					<input type="text" placeholder="请输入手机号" />
				</view>
				<view class="inp2">
					<input type="text" placeholder="请输入验证码" />
					<view class="auth">获取验证码</view>
				</view>
			</view>
		</view>
		<!-- 同意 -->
		<view class="consent">
			<label>
				<checkbox /><text class="text">我已阅读并同意 <a>《用户使用协议》</a>和<a>《隐私政策》</a></text>
			</label>
		</view>
		<!-- 下一步 -->
		<view class="next">
			<button @click="go('/pages/enroll/enroll2')">下一步</button>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			}
		},
		methods: {
			go(url) {
				uni.navigateTo({
					url: url
				})
			},
			ret() {
				uni.navigateBack({
					delta: 1
				})
			}
		}
	}
</script>

<style lang="less">
	/deep/.uni-navbar__content {
		border: none;
	}

	page {
		width: 100%;
		height: 100%;
		background-color: #f4f5fa;
	}

	.logo {
		height: 355rpx;
		background-color: yellow;
		background: url(/static/bg_02.jpg) no-repeat;
		background-size: 100%;

		// 标题
		.headbox {
			height: 100rpx;
			display: flex;
			justify-content: space-between;
			line-height: 100rpx;

			.title {
				color: #fff;
				font-size: 35rpx;
			}

			.mo {
				width: 200rpx;

				.iconfont {
					color: #fff;
					margin-left: 30rpx;
					display: block;
					font-size: 35rpx
				}
			}

			.mo1 {
				width: 200rpx;
			}
		}

		// 登录
		.form {

			height: 315rpx;
			background-color: #fff;
			margin-left: 25rpx;
			margin-right: 25rpx;
			margin-top: 115rpx;
			border-radius: 20rpx;
			padding-left: 35rpx;
			padding-right: 35rpx;
			overflow: hidden;

			.inp1 {
				margin-top: 70rpx;
				height: 100rpx;
				border-bottom: 2rpx solid #f7f7f7;
				box-sizing: border-box;

				input {
					width: 100%;
					height: 100%;
					font-size: 30rpx;
					color: #b8b8b8;
				}
			}
		}

		.inp2 {
			height: 100rpx;
			box-sizing: border-box;
			display: flex;
			justify-content: space-between;

			input {
				height: 100%;
				font-size: 30rpx;
				color: #b8b8b8;
			}

			.auth {
				line-height: 100rpx;
				height: 100%;
				color: #5b87c1;
				font-size: 30rpx;
				margin-right: 60rpx;
			}
		}
	}

	// 同意

	.consent {
		height: 60rpx;
		width: 600rpx;
		font-size: 20rpx;
		margin: 0 auto;
		margin-top: 230rpx;

		.radio {
			height: 40rpx;
			line-height: 40rpx;

			.text {
				color: #bbbbbd;
			}

			a {
				color: #6eb1fd;
			}

			text-align: center;

			.text {
				color: #bbbbbd;
			}

			a {
				color: #6eb1fd;
			}
		}
	}

	// 下一步
	.next {
		height: 100rpx;
		margin-top: 75rpx;

		button {
			line-height: 100rpx;
			font-size: 35rpx;
			display: block;
			height: 100rpx;
			width: 495rpx;
			line-height: 100rpx;
			font-size: 20rpx;
			border-radius: 50rpx;
			background-color: #5da7f0;
			border: none;
			color: #fff;
		}
	}

	.no {
		font-size: 30rpx;
		margin-top: 95rpx;
		text-align: center;
	}

	/deep/.uni-checkbox-input {
		border-radius: 50rpx !important;
	}
</style>